<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>哒哒的CSS2</title>
    <style>

        div{
            width: 100%;
            height: 150px;
            background-color: rgb(46, 134, 185);
            display: flex;
            justify-content: space-around;
            align-items: center;
        }
        span {
            width: 100px;
            height: 50px;
            background-color: rgb(6, 255, 180);
            display: block;
        }
        
       
        
      
    </style>
</head>
<body>
    <div>
        <span>哒哒1</span>
        <span>哒哒2</span>
        <span>哒哒3</span>
        <span>哒哒4</span>
    </div>
    
   
    
</body>
</html>